< previous page page_308 next page >

Page 308
12181-0308a.gif
Figure 11.10.
A list of the custom control's properties are displayed for
selection.
Select the properties you want on this page and add them to the list on the right side of the dialog box.
Note
Adding too many properties will clutter up the page and make it hard to use.

Now click Finish to complete the process. Congratulations! You've created an ActiveX control and added a property page to it.
Testing the Control..
The way the control is defined allows you to place it on a form in a standard project, set its properties, execute its methods, and see how the default process works.
Note
You can't run an ActiveX control by choosing Debug, Run from the menu.

Depending on which version of Visual Basic you're using, you can test this new control in two ways:
8694cbadb9b1ef7075903f6f95fc1db2.gif
By compiling the new control, starting a new Standard EXE project (Standard Edition users will have to start Visual Basic's Standard Edition), and dropping the control into that new project

 
< previous page page_308 next page >

If you like this book, buy it!